package com.example.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.entity.domain.SensitiveType;
import com.example.entity.dto.BaseDTO;
import com.example.entity.vo.SensitiveTypeVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author: zhuxiaokang
 * @CreateTime: 2025-05-07
 * @Description: 敏感类型
 * @Version: 1.0
 */
@Mapper
public interface SensitiveTypeDao extends BaseMapper<SensitiveType> {

    Page<SensitiveType> pageList(Page<SensitiveType> page, @Param("baseDTO") BaseDTO baseDTO);

    List<SensitiveTypeVo> getSensitiveTypeList();

    String getSentiveTypeName(Long sensitiveTypeId);

}
